<?php echo $a1 -> foo; ?>
<?php echo $a1 -> bar; ?>